@import '~antd/es/style/themes/default.less';

html,
body,
#root {
  height: 100%;
}

.colorWeak {
  filter: invert(80%);
}

.ant-layout {
  min-height: 100vh;
}

canvas {
  display: block;
}

body {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

ul,
ol {
  list-style: none;
}

.bottomFooter {
  text-align: center;
}
.myflex {
  display: flex;
  align-items: center;
}
.marginB20 {
  margin-bottom: 20px;
}
.alable {
  width: 80px;
  text-align: center;
}
.abox {
  margin-bottom: 10px;
  padding: 15px;
  border: 1px solid #aaa;
}
.bbox {
  margin-bottom: 10px;
  padding: 15px;
}
.width100 {
  width: 100%;
}
.textCenter {
  text-align: center;
}
.btween {
  display: flex;
  justify-content: space-between;
}
.adaybox {
  margin-bottom: 15px;
  padding: 15px;
  line-height: 30px;
  text-align: center;
  background-color: #fff;
  border: 1px solid #e4e4e4;
  transition: all .3s;
}
.adaybox:hover {
  box-shadow: 0 0 5px 3px #e4e4e4;
}
.aday-header {
  background-color: rgb(87,222,122);
}
.aday-text {
  color: white;
}
.myellips {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.marginT10 {
  margin-top: 10px;
}
.addgoodtip {
  color: #999;
  font-size: 14px;
}
.bgfff {
  background-color: #fff;
}
.imgbox-right, .imgbox-left {
  width: 100%;
}
.imgbox-title {
  padding: 8px 20px;
  line-height: 32px;
  border: 1px solid #dfdfdf;
}
.imgbox-body {
  width: 100%;
  height: 666px;
  padding: 10px;
  overflow: auto;
  line-height: 30px;
  border-color: #dfdfdf;
  border-style: solid;
  border-width: 0 1px 1px 1px;
}
.tableImg {
  max-width: 500px;
  max-height: 500px;
  overflow: hidden;
  text-align: center;
}
.tableImg img {
  width: 40px;
  height: 40px;
  border-radius: 2px;
}
.sortable-list:after {
  display: block;
  clear: both;
  content: '';
}
.uploadDiv {
  position: relative;
  float: left;
  width: 100px;
  height: 100px;
  margin: 0 5px 5px;
  overflow: hidden;
  line-height: 100px;
  text-align: center;
  border: 1px dashed #aaa;
  border-radius: 4px;
  cursor: pointer;
}
.uploadDiv:hover {
  border-color: #1890ff;
}
.aimg {
  position: relative;
  float: left;
  width: 100px;
  margin: 0 5px 5px;
  overflow: hidden;
  background-color: #fff;
  border-radius: 4px;
}
.aimg img {
  width: 100%;
  height: 100%;
}
@media (max-width: @screen-xs) {
  .ant-table {
    width: 100%;
    overflow-x: auto;
    &-thead > tr,
    &-tbody > tr {
      > th,
      > td {
        white-space: pre;
        > span {
          display: block;
        }
      }
    }
  }
}

